package selevert;

public class OneInfo {
    int id;
    String name;
    String modal;

    public OneInfo(int id, String name, String modal) {
        this.id = id;
        this.name = name;
        this.modal = modal;
    }

    public OneInfo() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModal() {
        return modal;
    }

    public void setModal(String modal) {
        this.modal = modal;
    }

    @Override
    public String toString() {
        return "OneInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", modal='" + modal + '\'' +
                '}';
    }
}
